package com.smq.chatserver.bean

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableId
import lombok.AllArgsConstructor
import lombok.Data
import lombok.NoArgsConstructor

@Data
@AllArgsConstructor
@NoArgsConstructor
data class User(
    @TableId(value = "user_id", type = IdType.AUTO)
    var userId: Int? = null,
    var name: String,
    var mobile: String,
    var portraitUri: String,
    var createTime: Long,
    var username: String? = null,
    var intro: String? = null,
)